Skip to content

Conversation

@austinLorenzMccoy
Copy link

🚀 Testnet Deployment + Liquid Mercury UI + Multi-Token Support

Summary

Production-ready multi-token streaming protocol deployed to Stacks Testnet with unique liquid mercury-themed UI. Builds on Stacks Developer Degree courses (1, 1.2, 2.2, 3.2) with professional codebase organization.

Key Changes

  • Deployed to Testnet: ST1QXWAQZCKF0X9YJDEY3EWCA7ABHKFJ0AN9AGCTC.stream-v2
  • Added Read Functions: get-latest-stream-id() and get-stream() for frontend data access
  • Reorganized Structure: Separated contract/ and frontend/ folders
  • Unique UI: Liquid mercury theme (organic, fluid animations, metallic design)
  • Multi-Token Support: STX, sBTC, custom SIP-010 token selector
  • Enhanced Features: Real-time updates, wallet integration, responsive design

Technical Improvements

  • Next.js 15 frontend with Stacks Connect
  • Token utilities with dynamic decimals
  • Stream dashboard with filtering
  • Signature verification in contract
  • Contract read-only functions for data queries
  • Professional documentation

Deployment

Contract: https://explorer.hiro.so/txid/ST1QXWAQZCKF0X9YJDEY3EWCA7ABHKFJ0AN9AGCTC.stream-v2?chain=testnet
Status: Live on Stacks Testnet, fully functional 🚀

Testing

  • ✅ Contract deployed and verified on testnet
  • ✅ Frontend connects successfully
  • ✅ Wallet integration working
  • ✅ Stream creation and management functional

- Added token-contract field to streams map for multi-token support
- Implemented stream-token-to for SIP-010 token streaming
- Added separate withdraw-token and refund-token functions
- Added token detection helpers (is-stx-stream, get-token-contract)
- Defined SIP-010 trait in contract
- Created comprehensive test suite with 19 passing tests
- Deployed stream-v3 to testnet: ST1QXWAQZCKF0X9YJDEY3EWCA7ABHKFJ0AN9AGCTC.stream-v3
- Updated handleCreateStream to support stream-token-to function
- Added token contract address parameter for SIP-010 tokens
- Form now properly calls stream-token-to for sBTC and custom tokens
- Form calls stream-to for STX streams
- Token amounts parsed based on selected token decimals
- Updated live demo URL to https://stacks-token-streaming-liart.vercel.app
- Added deployed contract address (stream-v3)
- Documented new SIP-010 token streaming functions
- Updated test results to show 19 passing tests
- Highlighted new multi-token features
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant